package com.sls.sys.service;

import java.util.List;

import com.sls.core.socket.Head;
import com.sls.page.Pagination;
import com.sls.sys.pojo.PermissionInfoVO;
import com.sls.sys.pojo.RolePermission;

public interface RolePermissionService {
	public Pagination<RolePermission> findPage(String body, Head head) throws Exception;

	public List<PermissionInfoVO> findByRoleId(String body, Head head) throws Exception;

	public void deleteRolePermission(String body, Head head) throws Exception;
	/**
	 * 修改角色权限对应信息（先删除原有的信息再重新添加角色对应信息）
	 * @param body
	 * @param head
	 * @return
	 * @throws Exception
	 */
	public void updateRolePermission(String body, Head head) throws Exception;
}
